package com.swiftops.basic.sys.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 系统配置表实体类
 * 根据需要删减无效参数
 *
 * @author yangyang
 * @date 2023/09/17
 **/
@Data
@Table(name = "sys_config")
public class SysConfig {

    /**
     * 主键
     */
    @Id
    @Column(name = "ID")
    private String id;

    /**
     * 配置项键
     */
    @Column(name = "CONFIG_KEY")
    private String configKey;

    /**
     * 配置项值
     */
    @Column(name = "CONFIG_VALUE")
    private String configValue;

    /**
     * 配置项类型
     */
    @Column(name = "CONFIG_TYPE")
    private String configType;

    /**
     * 备注
     */
    @Column(name = "REMARK")
    private String remark;

    /**
     * 启用状态 0：停用  1：启用
     */
    @Column(name = "USEABLE")
    private Byte useable;

    /**
     * 删除标识 0：未删除  其他：删除
     */
    @Column(name = "DELETE_FLAG")
    private String deleteFlag;

    /**
     * 创建人
     */
    @Column(name = "CREATED_BY")
    private String createdBy;

    /**
     * 创建时间
     */
    @Column(name = "CREATED_AT")
    private Date createdAt;

    /**
     * 更新人
     */
    @Column(name = "UPDATED_BY")
    private String updatedBy;

    /**
     * 更新时间
     */
    @Column(name = "UPDATED_AT")
    private Date updatedAt;
}
